from apps.Movie.views import updateview, deleteview, addview, listview, genreview, ratingview
from django.conf.urls import url

app_name = 'Movie'

urlpatterns = [
    url(r'^update/(?P<movieId>.+)$', updateview.as_view(), name='update'),
    url(r'^rating/(?P<movieId>.+)$', ratingview.as_view(), name='rating'),
    url(r'^add$', addview.as_view(), name='add'),
    url(r'^list$', listview.as_view(), name='list'),
    url(r'^delete$', deleteview.as_view(), name='delete'),
    url(r'^genreAll', genreview.as_view(), name='listAll'),

]
